
#ifdef  UpdateRegistryFromResource
  #undef  UpdateRegistryFromResource
#endif

class Cdummodule : public  CAtlModule
{
  //  RtlNtStatusToDosError
typedef ULONG (NTAPI * TSTATUS2DOSERR) (NTSTATUS);
static TSTATUS2DOSERR procNtStatus2DosError;
  CComBSTR  m_strSubkey;
public:
static DWORD IncludePrivilege(LONG atarget);
static void  AddReplacements(LPCOLESTR akey, LPCOLESTR aval);

  explicit Cdummodule(LPCWSTR aval) :  
          CAtlModule(), m_strSubkey(aval) {}
  DWORD UncreateService(LPCWSTR alias);
  HRESULT UpdateRegistryFromResource(UINT nResID);
  HRESULT AddCommonRGSReplacements(IRegistrarBase* ap) throw()
	{
     return  S_OK;
	}
  bool  IsEmpty(void) const;
  bool  SearchAmbiguous(UINT nResID) const;
  DWORD UpdateLoadDriver(bool);
};
